package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

/**
 * @Author: fengfeng
 * @Date: 2023/07/05/17:05
 * @Description: 业余爱好者
 */
public interface DishService extends IService<Dish> {

    // 新增菜品，插入菜品对应的口味数据，需要操作两张表
    void saveWithFlavor(DishDto dishDto);

    DishDto getByIdWithFlavor(Long id);

    void updateWithFlavor(DishDto dishDto);

}
